package timvanx;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.util.ResourceUtils;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/**
 * <h3>interview-x</h3>
 * <p>SpringBoot的启动类</p>
 *
 * @author : TimVan
 * @date : 2020-09-27 00:58
 **/
@SpringBootApplication
public class InterviewXApplication  extends SpringBootServletInitializer {

    /**
     * 1、构建基于layui的输入界面(自适应)
     * 2、插入视频/音频
     * 3、选择or重置
     * 4、第一段、第二段、第三段
     * 5、生成分析
     * */


    public static void main(String[] args) {
        SpringApplication
                .run(InterviewXApplication.class, args);
    }

//    // 配置静态资源文件路径
//    @Override
//    protected void addResourceHandlers(ResourceHandlerRegistry registry) {
//        registry.addResourceHandler("/static/**")
//                .addResourceLocations(ResourceUtils.CLASSPATH_URL_PREFIX + "/static/");
//        super.addResourceHandlers(registry);
//    }
}
